package com.example.hotel_lxy.bean;

import java.util.List;

public class GuaranteeInfoBean {

    /**
     * code : 0
     * msg : 成功
     * data : {"guarantee":[{"id":1,"name":"担保人1"},{"id":2,"name":"担保人2"}]}
     */

    private String code;
    private String msg;
    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private List<GuaranteeBean> guarantee;

        public List<GuaranteeBean> getGuarantee() {
            return guarantee;
        }

        public void setGuarantee(List<GuaranteeBean> guarantee) {
            this.guarantee = guarantee;
        }

        public static class GuaranteeBean {
            /**
             * id : 1
             * name : 担保人1
             */

            private int id;
            private String name;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }
    }
}
